//
//  oc-lei.m
//  lianxi OC
//
//  Created by 周明基 on 16/5/2.
//  Copyright © 2016年 zmj. All rights reserved.
//

#import <Foundation/Foundation.h>
@interface House : NSObject 
{
    @public
    int _door;
    double _windows;
}
- (void)Street :(char *)StreetName :(int)StreetNum;
@end

@implementation House

- (void)Street :(char *)StreetName :(int)StreetNum{
    NSLog(@"ZAIkandao:%s,dddddddd:%d",StreetName ,StreetNum);
    
}

@end

int main(int argc, const char * argv[]){

    House *p = [House new];
    p->_door = 20;
    [p Street:"dongzhen" :360];
    
}